home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 2.iso / dist / fw_groff.idb / usr / freeware / share / groff / 1.17.2 / tmac / mdoc / doc-nroff.z / doc-nroff
Text File  |  2002-04-08  |  4KB  |  174 lines

  1. .\" Copyright (c) 1991, 1993
  2. .\"    The Regents of the University of California.  All rights reserved.
  3. .\"
  4. .\" Redistribution and use in source and binary forms, with or without
  5. .\" modification, are permitted provided that the following conditions
  6. .\" are met:
  7. .\" 1. Redistributions of source code must retain the above copyright
  8. .\"    notice, this list of conditions and the following disclaimer.
  9. .\" 2. Redistributions in binary form must reproduce the above copyright
  10. .\"    notice, this list of conditions and the following disclaimer in the
  11. .\"    documentation and/or other materials provided with the distribution.
  12. .\" 3. All advertising materials mentioning features or use of this software
  13. .\"    must display the following acknowledgement:
  14. .\"      This product includes software developed by the University of
  15. .\"      California, Berkeley and its contributors.
  16. .\" 4. Neither the name of the University nor the names of its contributors
  17. .\"    may be used to endorse or promote products derived from this software
  18. .\"    without specific prior written permission.
  19. .\"
  20. .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  21. .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  22. .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  23. .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  24. .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  25. .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  26. .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  27. .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  28. .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  29. .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  30. .\" SUCH DAMAGE.
  31. .\"
  32. .\"     @(#)doc-nroff    8.1 (Berkeley) 06/08/93
  33. .\"
  34. .eo
  35. .if !r D .nr D 0
  36. .if !r cR .nr cR 1
  37. .nr S 10
  38. .nr C 0
  39. .ds caption-font \f[R]
  40. .ds caption-font2 \f[R]
  41. .ds Ad-font \f[I]
  42. .ds Ar-font \f[I]
  43. .ds Cm-font \f[B]
  44. .ds Em-font \f[I]
  45. .ds Er-font \f[R]
  46. .ds Ev-font \f[R]
  47. .ds Fa-font \f[I]
  48. .ds Fd-font \f[B]
  49. .ds Fl-font \f[B]
  50. .ds Fn-font \f[B]
  51. .ds Ft-font \f[I]
  52. .ds Ic-font \f[B]
  53. .ds Li-font \f[R]
  54. .ds Me-font \f[B]
  55. .ds Nm-font \f[B]
  56. .ds No-font \f[R]
  57. .ds Pa-font \f[I]
  58. .ds Sh-font \f[B]
  59. .ds Sy-font \f[B]
  60. .ds Sx-font \f[I]
  61. .ds Tn-font-shape \f[R]
  62. .ds Tn-font-size
  63. .ds Va-font \f[I]
  64. .ds Xr-font \f[R]
  65. .ds left-parenthesis \f[R](\f[P]
  66. .ds right-parenthesis \f[R])\f[P]
  67. .ds lp \f[R](\f[P]
  68. .ds rp \f[R])\f[P]
  69. .ds left-bracket \f[R][\f[P]
  70. .ds right-bracket \f[R]]\f[P]
  71. .nr subheader-indent .5i
  72. .nr paragraph-space 1v
  73. .ec
  74. .nr digit-width \w'\0\0'u
  75. .nr fixed-width \w'0'
  76. .eo
  77. .nr header-space 0
  78. .nr footer-space 0
  79. .nr display-vertical 0
  80. .de setup-page-layout
  81. .ie \n[cR] \
  82. .nr header-space 0
  83. .el \
  84. .nr header-space .5i
  85. .nr footer-space .5i
  86. .ll 78n
  87. .lt 78n
  88. .po 0i
  89. .nr display-vertical 1v
  90. .ad l
  91. .na
  92. ..
  93. .ec
  94. .ds left-singlequote \[oq]
  95. .ds right-singlequote \[cq]
  96. .ds <= \[<=]
  97. .ds >= \[>=]
  98. .ds aa \[aa]
  99. .ds ga \[ga]
  100. .ds q \[dq]
  101. .ds Ne \[!=]
  102. .ds Le \[<=]
  103. .ds Ge \[>=]
  104. .ds Lt <
  105. .ds Gt >
  106. .ds Pm \[+-]
  107. .ds Na \f[I]NaN\f[P]
  108. .ds Ba \f[R]|\f[P]
  109. .ie '\*[.T]'utf8' \{\
  110. .ds Rq \[rq]
  111. .ds Lq \[lq]
  112. .ds ua \[ua]
  113. .ds Pi \[*p]
  114. .ds If \[if]
  115. .\}
  116. .el \{\
  117. .ds Rq ''
  118. .ds Lq ``
  119. .ds ua ^
  120. .ds Pi pi
  121. .ds If infinity
  122. .\}
  123. .eo
  124. .ds header-string
  125. .de setup-header
  126. .nr % 1
  127. .ds header-string "\*[document-title]
  128. .if !"\*[section]"Null" \
  129. .as header-string (\*[section])
  130. .ie \n[cR] \
  131. .header
  132. .el \{\
  133. .wh 0 header
  134. .wh -1.167i footer
  135. .\}
  136. .if ((\n[nl] == 0) : (\n[nl] == -1)) \
  137. '    bp
  138. .e@ end-macro
  139. ..
  140. .de get-width
  141. .nr width \w\$1
  142. .ie (\n[width] >= \n[fixed-width]) \{\
  143. .ie (\n[width] % \n[fixed-width]) \
  144. .nr width ((\n[width] / \n[fixed-width]) + 1)
  145. .el \
  146. .nr width (\n[width] / \n[fixed-width])
  147. .\}
  148. .el \
  149. .nr width 0
  150. ..
  151. .de get-arg-width
  152. .nr width \w\*[arg\$1]
  153. .ie (\n[width] >= \n[fixed-width]) \{\
  154. .ie (\n[width] % \n[fixed-width]) \
  155. .nr width ((\n[width] / \n[fixed-width]) + 1)
  156. .el \
  157. .nr width (\n[width] / \n[fixed-width])
  158. .\}
  159. .el \
  160. .nr width 0
  161. ..
  162. .de Ql
  163. .if !\n[arg-limit] \{\
  164. .ie \n[.$] \
  165. .ds macro-name Ql
  166. .el \
  167. .tm Usage: .Ql argument ... (#\n[.c])
  168. .\}
  169. .ds quote-left "\*[left-singlequote]
  170. .ds quote-right "\*[right-singlequote]
  171. .enclose-string \$@
  172. ..
  173. .ec
  174.